-- GENERATED SPELL FOR [Silvermoon Dragonhawk] --


function spell0_27946(pUnit, Event) --@Fire Breath,Self--
pUnit:FullCastSpellOnTarget(37985,pUnit)
pUnit:RegisterEvent('Sorts_27946', 3000, 1)
end

function Sorts_27946(pUnit, Event)
local choix_sorts_27946 = math.random(0, 0)
if choix_sorts_27946 == 0 then
pUnit:RegisterEvent('spell0_27946', 1, 1)
end
end

function mob27946_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_27946', math.random(1500, 3000), 1)
end

function mob27946_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27946_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob27946_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(27946, 1, 'mob27946_Action')
RegisterUnitEvent(27946, 2, 'mob27946_Leave')
RegisterUnitEvent(27946, 3, 'mob27946_Kill')
RegisterUnitEvent(27946, 4, 'mob27946_Die')
